package com.insmess.speech.sdk.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class VectorRequestDto {
    @JsonProperty(value = "enroll_audio")
    private String enrollAudio;

    @JsonProperty(value = "test_audio")
    private String testAudio;

    private String task = "score";

    /**
     * 合成音频文件格式，可选：pcm、wav，默认值：wav
     */
    @JsonProperty(value = "audio_format")
    private String audioFormat = "wav";

    /**
     * 音频的采样率，值选择 [8000, 16000]，默认与模型采样率一致
     */
    @JsonProperty(value = "sample_rate")
    private Integer sampleRate = 16000;
}
